﻿#Include ..\baseHandle.ahk
#Include workDir.ahk
class Pwd extends BaseHandle {
  static nullable := true

  static Handle(parsed) {
    return this.Succ(WorkDir.dir())
  }

  static Spec() {
    return {
      cmd: 'pwd',
      desc: '打印当前目录',
      format: 'pwd',
      args: {
        desc: '',
        isOptional: true,
        cacheable: false,
      },
      extra: {
        isEnable: false
      }
    }
  }

}
